package org.springblade.oa.service.impl;

import lombok.AllArgsConstructor;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springblade.oa.entity.Welfare;
import org.springblade.oa.mapper.WelfareMapper;
import org.springblade.oa.service.IWelfareService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
@AllArgsConstructor
public class WelfareServiceImpl extends BaseServiceImpl<WelfareMapper,Welfare> implements IWelfareService {
	WelfareMapper welfareMapper;


	@Override
	public Integer selectStandardByRoleId(String roleId) {
		return welfareMapper.selectStandardByRoleId( roleId );
	}

	@Override
	public List<Map<String, Object>> getWelfareList(Map<String, Object> map) {
		return welfareMapper.getWelfareList( map );
	}

	@Override
	public Integer getWelfareListCount(Map<String, Object> map) {
		return welfareMapper.getWelfareListCount( map );
	}

	@Override
	public List<Map<String, Object>> getNotUploadWelfareList(Map<String, Object> map) {
		return welfareMapper.getNotUploadWelfareList( map );
	}

	@Override
	public String getWelfareCount(Map<String, Object> map) {
		return welfareMapper.getWelfareCount(map);
	}
}
